<template>
  <tl-tabs :tabList="tabList"></tl-tabs>
</template>

<script>
import ClassA from '@/components/tab/ClassA.vue'
import ClassB from '@/components/tab/ClassB.vue'

export default {
  components: { ClassA, ClassB },
  data() {
    return {
      tabList: [
        { label: '一年级', component: ClassA },
        { label: '二年级', component: ClassB },
      ],
    }
  },
}
</script>

<style></style>